<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <!-- open in browser 插件：按 alt + b 可以快速在浏览器中打开 -->
    <!-- <form action="./form.php" method="post"> -->

    <!--
    <form action="http://localhost/php-project/part03-post_get/form.php" method="post">
        <p>hello world</p>
        数字：<input type="number">
        <br>
        密码：<input type="password">
        <br>
        选择: a <input type="radio" name="gender"> | b <input type="radio" name="gender"> | c <input type="radio" name="gender">
        <br>
        昵称：<input type="text">
        <br>
        提交：<input type="submit" value="提交">
        <br>
        <textarea name="" id="" cols="30" rows="10"></textarea>
    </form>
    -->

    <!-- 和 ./form.php 的交互，是得前端提交的数据内容，我们的后端代码 php 是可以拿到的 -->
    <form action="http://localhost/php-project/part03-post_get/form.php" method="post">

        <input type="number" name="username" id="">
        <button type="submit">提交</button>

    </form>

</body>
</html>